﻿@model IEnumerable<VietPremier.EntityBanner>
@{
    Layout = null;
}


@{
    foreach (var item in Model)
    {
    <a href="@item.Link">
        @{
        var imageFile = "~/Content/upload/banner/";
        if (item.Image != null)
        {
            imageFile += @item.Image;
        }
        else
        {
            imageFile += "no-photo.jpg";
        }
                                        

            <img src= "@Url.Content(imageFile)" />
        }
    </a>
            
    }
}